{extend name="common/index" /}
{block name="style"}

</style>

<link rel="stylesheet" href="__TEMPLATE__/mobile/index/css/index.css" type="text/css">
<link rel="stylesheet" href="__TEMPLATE__/mobile/index/css/member.css" type="text/css">
<script type="text/javascript" src="__TEMPLATE__/sysme/js/user_name.js"></script>
<link rel="stylesheet" type="text/css" href="__SYSMET__/lib/Hui-iconfont/1.0.8/iconfont.css" />
{/block}
{block name="body"}
<div class="cont" style="padding:50px 0 60px 0;"> 

<div style="width:98%; margin:auto; height:50px; line-height:47px; margin-bottom:10px;">
<form action="{:url('member/touzhu')}" method="post" enctype="application/x-www-form-urlencoded">

<select size="1" class="game_select" name="czid" style="width:27%; height:35px; border:#CCCCCC solid 1px; ">
<option {if condition="$czid eq 0"}selected="" {/if} value="0">所有彩种</option>
{volist name="list_ca" id="it"}
<option {if condition="$czid eq $it.id"}selected="" {/if} value="{$it.id}">
	{if condition="$it.cp_name_new eq ''"}
	{$it.cp_name_old}
	{else}{$it.cp_name_new}{/if}
</option>
{/volist}

</select>




<select size="1" class="type_select" name="classtz" style="width:28%; height:35px; border:#CCCCCC solid 1px; padding-left:5px">
								<option {if condition="$classtz eq 0"}selected="" {/if} value="0">全部投注</option>
                                <option {if condition="$classtz eq 2"}selected="" {/if} value="2">已结算投注</option>
                                <option {if condition="$classtz eq 1"}selected="" {/if} value="1">未结算投注</option>
								<option {if condition="$classtz eq 5"}selected="" {/if} value="5">追号记录</option>
</select>
<select class="datatype_select" size="1" name="timebh" style="width:20%; height:35px; border:#CCCCCC solid 1px; padding-left:5px">
								<option {if condition="$timebh eq 1"}selected="" {/if} value="1">今天</option>
                                
                                <option {if condition="$timebh eq 3"}selected="" {/if} value="3">三天</option>
								<option {if condition="$timebh eq 4"}selected="" {/if} value="4">七天</option>
								<option {if condition="$timebh eq 5"}selected="" {/if} value="5">十五天</option>
								<option {if condition="$timebh eq 6"}selected="" {/if} value="6">三十天</option>
								<option {if condition="$timebh eq 2"}selected="" {/if} value="7">所有</option>
 </select>
  
  <div id="" style="display: inline-block;width: 22%;position: relative;float: right;margin-top: 6px;">
  		<input type="submit" value="搜索" style="width:100%; height:35px; border:#CCCCCC solid 1px;border-radius:8px; line-height:35px; text-align:left;padding-left: 40%; background:#e53120; color: white;float: ;" />
		<i class="Hui-iconfont" style="position:absolute;top:1px;left:9px;color:#fff;font-size:14px;line-height:35px;">&#xe709;</i>
  </div>


</form>
</div>
{volist name="touzhulist" id="item"}
<div style="width:100%;height:50px;line-height:50px;display:flex;font-size:14px;border-top:1px solid #ccc;">
	<div style="width:35%;text-align: center;color:#666;">{$item.cp_name_new}</div>
	<div style="width:40%;text-align: center;color:#666;">{$item.qihao}期</div>
	<a href="{:url('member/touzhu')}?tzid={$item.id}&czid={$item.czid}" style="width:25%;text-align: center;color:#d91d36;">详情</a>
</div>

{/volist}	
<div style="width:98%; height:50px; margin:auto; line-height:50px; border:#CCCCCC solid 1px; margin-top:10px; margin-bottom:10px; padding-left:5px; font-size:12px">
<div style="float:left; width:65%">共<span style="color: #e53120;">{$zys}</span>页， <span style="color: #e53120;">{$zongcount}</span>笔，当前第：<span style="color: #e53120;">{$page}</span>页</div>
<div style="float:right; width:35%;text-align: center;">
<a href="{:url('member/touzhu')}?timebh={$timebh}&czid={$czid}&classtz={$classtz}&page={$page-1}">上一页</a>
									<a href="{:url('member/touzhu')}?timebh={$timebh}&czid={$czid}&classtz={$classtz}&page={$page+1}" style="margin-left:20px">下一页</a>
</div>
</div>



 </div>
 {/block}
